package cn.tlb.gl.game.rebuild2;

import android.graphics.Bitmap;

/**
 * Created by 汤林冰 on 2016/2/1 11:44.
 */
public class BitmapSizeUnexpectedException extends Exception{

    public BitmapSizeUnexpectedException() {
    }

    public BitmapSizeUnexpectedException(Bitmap src) {
        this("expected 64x32 or 64x64 bitmap, but receive size "+(src.getHeight() +"x"+ src.getWidth()));
    }

    public BitmapSizeUnexpectedException(String detailMessage) {
        super(detailMessage);
    }

    public BitmapSizeUnexpectedException(String detailMessage, Throwable throwable) {
        super(detailMessage, throwable);
    }

    public BitmapSizeUnexpectedException(Throwable throwable) {
        super(throwable);
    }
}
